package com.pig4cloud.pig.module.service.product;

import com.pig4cloud.pig.common.mybatis.core.BaseService;
import com.pig4cloud.pig.module.api.entity.product.WarmHeartCashRecord;

import java.util.Map;

/**
 * 暖心宝上传记录，打款记录Service接口
 *
 * @author ruoyi
 * @date 2022-10-28
 */
public interface IWarmHeartCashRecordService extends BaseService<WarmHeartCashRecord> {

	/**
	 *  提现
	 * @param warmHeartCashRecord
	 * @rern
	 */
	Map<String,Object> checkRecord(WarmHeartCashRecord warmHeartCashRecord);

	/**
	 *  重新打款
	 * @param warmHeartCashRecord
	 * @return
	 */
	int resetCash(WarmHeartCashRecord warmHeartCashRecord);

	/**
	 *  统计总数
	 * @param map
	 * @return
	 */
	WarmHeartCashRecord selectTongji(Map<String,Object> map);
}
